package xyz.zyt123.hikvideo.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zhuyuntao
 **/
@Component
//读取application.yml中video-config层级下的配置项
@ConfigurationProperties(prefix = "video-config")
@Setter
@Getter
public class VideoConfig {
  private int keepalive;//保活时长（分钟）
  private String path;//推送地址
  private String picture;//图片地址
  private String video;//视频地址
  private String playBack;//视频地址
}
